
const cols = [
    // {
    //     type: 'selection',
    //     width: '50',
    // },
    // {
    //     title: 'ID',
    //     key: 'id'
    // },
    {
        title: '菜单名称',
        key: 'title',
        width: '150'
    },
    {
        title: '上级菜单',
        key: 'parentName',
        width: '150'
    },
    {
        title: '菜单图标',
        type: 'icon',
        key: 'icon',
        width: '150'
    },
    {
        title: '类型',
        type: 'tag',
        key: 'type',
        width: '150'
    },
    {
        title: '排序号',
        key: 'sorts'
    },
    {
        title: '授权标识',
        key: 'perms',
        width: '150'
    },
    {
        title: '操作',
        type: 'action',
        actions: [
            {
                type: 'primary',
                key: 'edit',
                text: '编辑'
            },
            {
                type: 'error',
                key: 'delete',
                text: '删除'
            }
        ],
        width: '150',
        align: 'center'
    }
];

const colData = {
    columns: cols
};

export default colData;
